package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 微信推送记录
 * </p>
 *
 * @author hpiggy
 * @since 2023-04-27
 */
@TableName("wechars_push_log")
@ApiModel(value = "WecharsPushLog对象", description = "微信推送记录")
@Data
public class WecharsPushLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("openid")
    private String openid;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("1成绩录入推送")
    private Integer type;

    @ApiModelProperty("推送次数")
    private Integer count;

    @ApiModelProperty("添加日期")
    private LocalDate addDate;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
